<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<link href="<?php echo base_url()?>cproducto/listarproducto/<?php echo $Producto['idProductos']?>" rel="canonical">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta property="og:<?php //echo base64_encode($Producto['Img'])?>" content="thumbnail_image" />


<meta property="og:title" content="Guaripolo Store" />

	<!-- meta facebook -->
	        <meta property="og:type"  content="article" />
	        <meta property="og:site_name" content="yer" />
	        <meta property="og:title" content="Imp" />
	        <meta property="og:url"   content="<?php echo base_url()?>cproducto/listarproducto/<?php echo $Producto['idProductos']?>" />

			<meta property="og:image" content="<?php //echo base64_encode($Producto['Img'])?>" />
	        <meta property="og:description" content="<?php //echo $Producto['Descripcion'];?>" />
	        <meta property="fb:admins" content="781201601" />	



<title>Guaripolo Store</title>
<meta name="description" content="My Store" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/960.css" media="all" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/screen.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/color.css" media="screen" />

<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="stylesheet/ie.css" media="screen" />
<![endif]-->

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/js/shoppica.js"></script>
<div id="fb-root"></div>

<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<script type="text/javascript">



$(document).ready(function() {



  $(".s_tabs").tabs({ fx: { opacity: 'toggle', duration: 300 } });



  $("#product_images a[rel^='prettyPhoto'], #product_gallery a[rel^='prettyPhoto']").prettyPhoto({

    theme: 'light_square',

    opacity: 0.5

  });



});



</script>



</head>



<body class="s_layout_fixed">



<div id="wrapper"> 

  

  <!-- ********************** --> 

  <!--      H E A D E R       --> 

  <!-- ********************** --> 

  <div id="header" class="container_12">
    <div class="grid_12">
    
    	<a id="site_logo" href="/catalogo">Guaripolo Store</a> 

      <div id="system_navigation" class="s_nav">
        <ul class="s_list_1 clearfix">
          <li><a href="<?php echo base_url()."catalogo"?>">Inicio</a></li>
          <li><a href="<?php echo base_url()."home/logout"?>">Log Out</a></li>
          <li><a href="<?php echo base_url()."carrito"?>">Carro de compras</a></li>
        </ul>
      </div>

      <div id="site_search">
      	<a id="show_search" href="javascript:;" title="Search:"></a>
        <div id="search_bar" class="clearfix">
          <input type="text" id="filter_keyword" />
          <select id="filter_category_id">
            <option value="0">Todas las categorias</option>
            <option value="1">PC</option>
            <option value="2">XBOX 360</option>
            <option value="1">PS3</option>
          </select>
          <a class="s_button_1 s_secondary_color_bgr"><span class="s_text">Go</span></a> 
        </div>
      </div>
      
      <div id="categories" class="s_nav">
        <ul>
          <li id="menu_home"> <a href="/catalogo">Inicio</a> </li>
          <li> <a href="/catalogo">Juegos</a>
            <div class="s_submenu">
              <h3>Categorias</h3>
              <ul class="s_list_1 clearfix">
                <li> <a href="listing_1.html">Accion</a>
                  
                </li>
                <li><a href="listing_1.html">Peleas</a></li>
                <li><a href="listing_1.html">Deporte</a></li>
              </ul>
              <span class="clear border_eee"></span>
              
        </ul>
      </div>
      
      <div id="cart_menu" class="s_nav">
      	<a href="/carrito"><span class="s_icon"></span> <small class="s_text">Carro</small><span class="s_grand_total s_main_color">
      	$<?php
      	$t=0; 
      	$nitems=0;
      	$q=$this->usuario->getCarro()->getAllProductos();
      	foreach($q->result() as $row)
      	{
      		$t+=$row->Precio * $row->cantidad;
      		$nitems+=$row->cantidad;
      	}
      	
      	echo $t;
      	?>
      	
      	
      	</span></a>
        <div class="s_submenu s_cart_holder">
          <p class="s_mb_0"><?php echo $nitems;?></p>
        </div>
      </div>
      
    </div>
  </div>
  
  <!-- end of header --> 

  



  <!-- ********************** --> 

  <!--     I N T R O          -->

  <!-- ********************** --> 



  <div id="intro">
    <div id="intro_wrap">
      <div class="container_12">
        <div id="breadcrumbs" class="grid_12">
          <a href="/catalogo">Inicio</a>
          &gt;
          <a href=""><?php echo $Producto['Nombre'];?></a>
        </div>
        <h1><?php echo $Producto['Nombre'];?></h1>
         
      </div>
    </div>
  </div>
<!-- End intro -->


  

  <!-- ********************** --> 

  <!--      C O N T E N T     -->

  <!-- ********************** --> 

  <div id="content" class="product_view container_16">



    <div id="product" class="grid_12">

      <div id="product_images" class="grid_6 alpha">

      	<img alt="Embedded Image" src="data:image/jpeg;base64,<?php echo base64_encode($Producto['Img']);?>" width="320" height="160" alt="" />

      </div>

      <div id="product_info" class="grid_6 omega">

        <p class="s_price"><span class="s_currency s_before">$</span><?php echo $Producto['Precio']?></p>
        <dl class="clearfix">

          <dt>Disponible</dt>

          <dd>In Stock</dd>

          <dt>Codigo</dt>

          <dd><?php echo $Producto['Codigo']?></dd>

          <dt>Plataforma</dt>

          <dd><?php echo $Producto['Plataforma']?></dd>

          

        </dl>

       

        <div id="product_options">

         
          <span class="clear"></span>

        </div>

        <div id="product_buy" class="clearfix">


          <a href="/carrito/agregarproducto/<?php echo $Producto['idProductos'];?>/1" id="add_to_cart" class="s_main_color_bgr"><span class="s_text"><span class="s_icon"></span> Añadir al Carro</span></a>
<br>
          <div id="product_share" class="clearfix">

          <!-- AddThis Button BEGIN -->

       <div class="fb-like" data-href="<?php echo base_url()?>cproducto/listarproducto/<?php echo $Producto['idProductos']?>" data-send="false" data-layout="button_count" data-show-faces="false" data-width="130" data-height="20" data-color-scheme="light" data-locale="es_CL"></div>
       

          <!-- AddThis Button END -->

        </div>
        </div>

      </div>

      <div class="clear"></div>

      <div class="s_tabs grid_12 alpha omega">

        <ul class="s_tabs_nav clearfix">

          <li><a href="#product_description">Descripción</a></li>


        </ul>

        <div class="s_tab_box">

        

          <div id="product_description">

            <div class="cpt_product_description ">

            <?php echo $Producto['Descripcion'];?>
            </div>

            <!-- cpt_container_end -->

          </div>

          


            

          

        </div>

      </div>

      

      

      

     <!-- <div id="product_tags" class="grid_12 alpha omega">

        <h2 class="s_title_1"><span class="s_main_color">Product</span> Tags</h2>

        <div class="clear"></div>

        <ul class="clearfix">

          <li><a href="#">Juegos</a></li>


        </ul>

      </div> --> 

      

    </div>



    

    <div id="right_col" class="grid_3">

      


      

    

  




    </div>

    

  </div>

  <!-- end of content -->

  

  <!-- ********************** --> 

  <!--   S H O P   I N F O    --> 

  <!-- ********************** --> 
<div id="shop_info">
    <div id="shop_info_wrap">
      <div class="container_12">
        <div id="shop_description" class="grid_3">
          <h2>Guaripolo Store</h2>
          <p>Proyecto de Taller de sistemas de computacíon, tienda virtual.</p>
        </div>
        <div id="shop_contacts" class="grid_3">
          <h2>Contactanos</h2>
          <table width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
              <td valign="middle"><span class="s_icon_32"><span class="s_icon s_phone_32"></span><br />12345</span></td>
            </tr>
            <tr>
              <td valign="middle"><span class="s_icon_32"><span class="s_icon s_mail_32"></span>contacto@guaripolostore.com <br /> </span></td>
            </tr>
            <tr>
              <td valign="middle"><span class="s_icon_32"><span class="s_icon s_skype_32"></span>guaripolo_store <br /> </span></td>
            </tr>
          </table>
        </div>
        <div id="twitter" class="grid_3">
          <h2>Twitter</h2>
          <ul id="twitter_update_list"><li></li></ul>
        </div>
        <div id="facebook" class="grid_3">
          <h2>Facebook</h2>
          <div class="s_widget_holder">
         
          </div>
        </div>
        <div class="clear"></div>
      </div>
    </div>
  </div>
  <!-- end of shop info --> 

  

  

  

  <!-- ********************** --> 

  <!--      F O O T E R       --> 

  <!-- ********************** --> 

  

    <div id="payments" class="right clearfix">
    
    </div>
    <p id="copy">&copy; 2012. Realizado por<a class="blue" href="">Equipo Guaripolo</a>.<br /> <a class="s_main_color" href="">Taller de Sistemas de Computación</a><a href=""></a></p>
  </div>
  <!-- end of FOOTER --> 
  
</div>

<div id="fb-root"></div>




</body>

</html>